package com.bwie.auth.service;

import com.bwie.common.domain.Admin;
import com.bwie.common.domain.request.AdminRequest;
import com.bwie.common.domain.response.TokenResponse;

public interface AuthService {
    //根据手机号获取验证码
    void getCode(String adminPhone);
    //登录
    TokenResponse login(AdminRequest request);
    //获取用户信息
    Admin info();
    //退出
    void logout();
}
